using UnityEngine;

namespace GameEntry
{
    [CreateAssetMenu(menuName = "@HoweGameFramework/" + nameof(GameLoaderConfiguration),
        fileName = nameof(GameLoaderConfiguration))]
    public sealed class GameLoaderConfiguration : ScriptableObject
    {
        /// <summary>
        /// 资源包名
        /// </summary>
        public string assetPackageName = "GameAssets";

        /// <summary>
        /// 资源包主文件服务器
        /// </summary>
        public string mainHostServer;

        /// <summary>
        /// 资源包备用文件服务器
        /// </summary>
        public string fallbackHostServer;

        /// <summary>
        /// 资源包解密服务类名
        /// </summary>
        public string decryptionServiceTypeName;

        /// <summary>
        /// 程序集清单资源键值
        /// </summary>
        public string assemblyManifestAssetKey = "GameAssemblyManifest";
    }
}